/*
* Copyright @ 2014 com.iflysse.trains
* manger_v2.0 下午8:40:11
* All right reserved.
*
*/
package com.iflysse.pojo;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.JSON;

/**
 * @desc: manger_v2.0
 * @author: Administrator
 * @createTime: 2014年11月19日 下午8:40:11
 * @history:
 * @version: v1.0
 */
public class ContentInfo implements Serializable{

	/**
	* TODO
	*/
	private static final long serialVersionUID = 1L;
	/**
	* 内容ID
	*/
	private int id;
	/**
	* 所属栏目
	*/
	private String columnname;
	/**
	* 内容标题
	*/
	private String title;
	/**
	* 内容状态
	*/
	private String constatus;
	
	/**
	 * 访问次数
	 */
	private int count;
	
	/**
	 * @return the count
	 */
	public int getCount() {
		return count;
	}
	/**
	 * @param count the count to set
	 */
	public void setCount(int count) {
		this.count = count;
	}

	/**
	* 排序得分
	*/
	private int orderscore;
	/**
	* 内容
	*/
	private String content;
	/**
	* 创建作者
	*/
	private String createautor;
	/**
	* 关键字
	*/
	private String keyword;
	/**
	* 置顶状态
	*/
	private String topstatus;
	/**
	* 置顶时间
	*/
	private Date toptime;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the columnname
	 */
	public String getColumnname() {
		return columnname;
	}
	/**
	 * @param columnname the columnname to set
	 */
	public void setColumnname(String columnname) {
		this.columnname = columnname;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the constatus
	 */
	public String getConstatus() {
		return constatus;
	}
	/**
	 * @param constatus the constatus to set
	 */
	public void setConstatus(String constatus) {
		this.constatus = constatus;
	}
	/**
	 * @return the orderscore
	 */
	public int getOrderscore() {
		return orderscore;
	}
	/**
	 * @param orderscore the orderscore to set
	 */
	public void setOrderscore(int orderscore) {
		this.orderscore = orderscore;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the createautor
	 */
	public String getCreateautor() {
		return createautor;
	}
	/**
	 * @param createautor the createautor to set
	 */
	public void setCreateautor(String createautor) {
		this.createautor = createautor;
	}
	/**
	 * @return the keyword
	 */
	public String getKeyword() {
		return keyword;
	}
	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	/**
	 * @return the topstatus
	 */
	public String getTopstatus() {
		return topstatus;
	}
	/**
	 * @param topstatus the topstatus to set
	 */
	public void setTopstatus(String topstatus) {
		this.topstatus = topstatus;
	}
	/**
	 * @return the toptime
	 */
	public Date getToptime() {
		return toptime;
	}
	/**
	 * @param toptime the toptime to set
	 */
	public void setToptime(Date toptime) {
		this.toptime = toptime;
	}
	/*
	*(non-Javadoc)
	* @see java.lang.Object#toString()
	*/
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return JSON.toJSONString(this);
	}
}
